﻿
namespace XmlServer.ServiceContracts
{
    /// <summary>
    /// Represents a piece of information sent by the client to the XmlServer (and eventually to an operator)
    /// </summary>
    public interface IFact
    {
        /// <summary>
        /// The name of the fact.  Since this is sent in an Xml file as a node, it should be Xml "friendly".        
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// Get or set the value of the fact
        /// </summary>
        string Value { get; set; }

        /// <summary>
        /// get/set the description of the fact
        /// </summary>
        string Description { get; set; }

        /// <summary>
        /// Indicates id the fact is requried or optional
        /// </summary>
        bool IsRequired { get; set; }


    }
}
